package net.bac.sbe.common.api.view;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

import net.bac.sbe.common.sonar.validation.MetricValidationResult;
import net.bac.sbe.common.xls.bean.ReportBean;

public class ReportView {

	public ReportView(ReportBean[][] pDataMatrix, 
			String pFileName, 
			Collection<MetricValidationResult> pMessages, 
			Map<String, Double> pGrades){
		this.dataMatrix = pDataMatrix;
		this.fileName = pFileName;
		this.messages = pMessages;
		this.grades = pGrades;
	}
	
	private ReportBean[][] dataMatrix;
	private String fileName;
	private Collection<MetricValidationResult> messages;
	private Map<String, Double> grades;
	
	public ReportBean[][] getDataMatrix() {
		return dataMatrix;
	}
	public void setDataMatrix(ReportBean[][] dataMatrix) {
		this.dataMatrix = dataMatrix;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public Collection<MetricValidationResult> getMessages() {
		return messages;
	}
	public void setMessages(Collection<MetricValidationResult> messages) {
		this.messages = messages;
	}
	public Map<String, Double> getGrades() {
		return grades;
	}
	public void setGrades(HashMap<String, Double> grades) {
		this.grades = grades;
	}
	
	
}
